<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>	
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/top_style.css" />
<script language="javascript" type="text/javascript"
	src="<%=request.getContextPath()%>/swordweb/core/jsimport/Sword.js"  bizJs="['/pages/biz/grxxsh/grxxshForm.js']"></script>
</head>
<body style="border-left: 1px solid #DDD9DA;">
	<div class="top_2">
		<div class="top_nav_list">
			<a>我的零生活</a>
		</div>
	</div>
	<div align="center" style="margin-left:25px;margin-top:25px; margin-right: 25px;">
		<div sword="SwordForm" name="form_grxxsh">
			<div name="id" type="hidden"></div>
			<div name="cBrandId" type="hidden"></div>
			<table class="layout1" style="width: 90%">
				<colgroup>
					<col width="20%" />
					<col width="70%" />
				</colgroup>
				<tr>
					<th colspan="2" class="title">
						我的零生活
						&nbsp;&nbsp;&nbsp;&nbsp;
						<!-- <div sword="SwordSubmit" name="help" value="使用帮助" class="green" onclick="input_onclick_help()"></div> -->
					</th>
				</tr>
				<tr>
					<th>用户名</th>
					<td colspan="1">
						<SPAN>
						<div name="username" type="label" x="10%"></div>
						<c:if test="${vipsyts <= 0}">
									<span style="color:red">(非vip会员)</span>
						</c:if>
						<c:if test="${vipsyts > 0}">
									<span style="color:red">(vip会员：${vipsyts }天后到期)</span>
						</c:if>
							&nbsp;&nbsp;&nbsp;&nbsp;
							<div sword="SwordSubmit" name="buyvip" value="购买vip" class="red" onclick="SwordSubmit_onclick_buyvip()"
							<c:if test="${shzt != 'shtg'}">
								disable="true"
							</c:if>
							></div>
						</SPAN>
					</td>
				</tr>
				<c:if test="${shzt != 'shbtg'}">
				<tr>
			    	<th>店铺名</th>
			    	<td colspan="1">
			    		<div name="cBrandTitle" type="label" rule="must"></div>
			    	</td>
	    		</tr>
				<tr>
			    	<th>店铺所在商圈</th>
			    	<td colspan="1">
			    		<div name="cBrandFbt" type="label" rule="must"></div>
			    	</td>
	    		</tr>
	    		<tr>
					<th>总new个数</th>
					<td colspan="1">
							<div type="label" name="cBrandNewnum"  x="7%"></div>个
							<div sword="SwordSubmit" name="buynew" value="购买new" class="red" onclick="SwordSubmit_onclick_buyvip()"
								<c:if test="${vipsyts <= 0}">
									disable="true"
								</c:if>
							></div>
					</td>
				</tr>
		    	<tr>
					<th>总财富值</th>
					<td colspan="1">
						<SPAN>
							<div type="label" name="cBrandTotalwealth"  x="5%"></div>财富
							<div sword="SwordSubmit" name="buywealth" value="购买财富值" class="red" onclick="SwordSubmit_onclick_buyvip()"
								<c:if test="${vipsyts <= 0}">
									disable="true"
								</c:if>
							></div>
						</SPAN>
					</td>
				</tr>
	    		</c:if>
				<tr>
					<th>审核状态</th>
					<td colspan="1">
						<c:if test="${shzt == 'wtjsh'}">
							<span class="shzt">亲，您还未提交审核，请尽快提交，审核通过后即可享受服务啦。</span>
						</c:if>
						<c:if test="${shzt == 'dsh'}">
							<span class="shzt">亲，您的资料已提交，我们将在一个工作日内为您处理，请耐心等待结果。</span>
						</c:if>
						<c:if test="${shzt == 'shtg'}">
							<span class="shzt">亲，您的资料已通过审核，恭喜您加入零生活服务社区，祝您生活愉快。</span>
						</c:if>
						<c:if test="${shzt == 'shbtg'}">
							<span class="shzt">亲，您的资料未通过审核，请重新提交或联系相关人员。</span>
						</c:if>
					</td>
				</tr>
				<c:if test="${shzt == 'shbtg'}">
					<tr>
			    		<th>店铺名</th>
			    		<td colspan="1"><div name="cBrandTitle" type="text" rule="must"></div></td>
	    			</tr>
					<tr>
			    		<th>店铺名</th>
			    		<td colspan="1"><div name="cBrandFbt" type="text" rule="must"></div></td>
	    			</tr>
	    			<tr>
			    		<th>店铺所属分类</th>
			    		<td colspan="1"><div name="categoryId" type="select" dataName="categoryTitle" rule="must"></div></td>
	    			</tr>
			    	<tr>
			    		<th>店铺logo</th>
			    		<td colspan="1">
			    			<div name="tbfj" type="file2" dataName="tbfj" deleteCtrl="File2Ctrl_deleteFile" rule="must"></div>
			    		</td>
			    	</tr>
					<tr>
						<th>请上传公司凭证图片<br/><span style="color:red;font-weight:900;">(注意：上传后可点击文件后放大镜图标进行预览,再次点击消失;点击叉号图标进行删除.)</span></th>
						<td colspan="1">
							<div name="pzfj" type="file2" dataName="pzfj" deleteCtrl="File2Ctrl_deleteFile" rule="must"></div>
							<div style="height:200px"></div>
						</td>
					</tr>
				</c:if>	
			</table>
			<c:if test="${shzt == 'shbtg' || shzt == 'wtjsh'}">
				<div class="mar_center">
					<span class="fl_340 pad_bot"></span> <span class="pad_bot bot"><a onclick="a_onclick_submit()" style="cursor: pointer;">提交审核</a> </span>
				</div>
			</c:if>
			<div style="clear:both"></div>
		</div>
	</div>

	<div sword="SwordSubmit" name="sub" show="false" value="提交审核"
		tid="GrxxShService_submit" onSuccess="SwordSubmit_onSuccess_sub()">
		<div widgetName="form_grxxsh"></div>
	</div>
	<div sword="SwordSubmit" name="sub_openVip" postType="form" show="false" value="打开购买form"
		tid="UserbuyService_initVipForm">
		<div widgetName="form_grxxsh"></div>
	</div>
	
</body>
</html>